import multiprocessing
import math

port=5600
# 获取 CPU 核心数
cpu_count = multiprocessing.cpu_count()
# 计算 cpu_count 除以 2 并取整
half_cpu_count = math.floor(cpu_count  / 2)  # 向下取整
bind = f'0.0.0.0:{port}'
workers = 1
worker_connections = 1
worker_class = "eventlet"
daemon = False
debug = False
proc_name = 'gunicorn_rec_server'